<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<!-- Bootstrap CSS -->
<link rel="stylesheet" href="/public/css/bootstrap.min.css">

<!-- Loding font -->
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,700" rel="stylesheet">

<!-- Custom Styles -->
<link rel="stylesheet" type="text/css" href="/public/css/styles.css">

<title>Home</title>
</head>
<body>

<!-- Backgrounds -->

<div id="login-bg" class="container-fluid">

  <div class="bg-img" style="background-image:url(../public/img/bg-image.jpeg)"></div>
  <div class="bg-color"></div>
</div>

<!-- End Backgrounds -->

<div class="container" id="login">
	<div class="row justify-content-center">
	<div class="col-lg-8">
	  <div class="login">

		<h1>贴吧登录</h1>

		<!-- Loging form -->
			 <form action="/login" method="post">
				<div class="form-group">
				  <input type="text" class="form-control" id="exampleInputEmail1" placeholder="登录账号" name="name" required minlength="2" maxlength="10">

				</div>
				<div class="form-group">
				  <input type="password" class="form-control" id="exampleInputPassword1" placeholder="密码" name="password" required >
				</div>

				<br>
				<button type="submit" class="btn btn-lg btn-block btn-success">登录</button>
			  </form>
		  <br>
		  <label class="forgot-password"><a href="/add" style="font-size: 20px">注册</a></label>
		 <!-- End Loging form -->


	</div>
	</div>
</div>


</body>
</html>
